<link rel="stylesheet" href="app/home/css/login.css"/>

<div class="login-wrapper">
    <div class="login-form" ng-controller="LoginController">
        <div class="alert alert-danger" ng-show="err">{{ errMsg }}</div>
        <form role="form-horizontal">
            <div class="form-group">
                <label for="account" class="col-sm-3">用户名</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" id="account" ng-model="account" placeholder="用户名" ng-keyup="account=account.toUpperCase()"/>
                </div>
            </div>
            <div class="form-group">
                <label form="password" class="col-sm-3">密码</label>
                <div class="col-sm-9">
                    <input type="password" class="form-control" id="password" ng-model="password" placeholder="密码" />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <button type="button" class="btn btn-default" ng-click="login()">登 陆</button>
                </div>
            </div>
        </form>
    </div>
</div>